package com.zwq.service;

import com.zwq.pojo.dto.MachineDto;
import com.zwq.pojo.dto.MachineStatsDto;
import com.zwq.pojo.request.user.machine.MachineRequest;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface MachineService {
    MachineStatsDto getStatistics(Map<String, String> filters);
    Page<MachineDto> getMachineList(Map<String, String> filters); // 修改为返回 Page
    byte[] exportStatistics(Map<String, String> filters);
    List<MachineDto> predictMachineStatus();
    MachineDto addMachine(MachineRequest request);
    MachineDto updateMachine(MachineRequest request);
    void deleteMachine(Long id);
}